import mixins from '@/mixins/mixins'
export default {
  mixins: mixins.getters('Upload'),
  initData: {
    isMore: false,
    isLocal: false,
    limit: 1,
    params: {},
    type: ['image', 'vedio'],
    autoloadUrl: '',
    chooseFile: false,
    modelFile: false,
    isCropper: false,
    isShowList: true,
    isMultiple: false,
    auto: false,
    initList: [{
      activeName: 'item.activeName',
      showCheck: false,
      file_path: 'https://img.hipintuan.cn/images/global/o9sWcI277sNScszwiasy1zmh9NYbzW.jpg'
    }],
    saveList: []
  },
  viewimgTags: {
    activeY: '',
    activeM: '',
    year: [
      {
        name: '不限',
        val: ''
      },
      {
        name: '2018',
        val: '2018'
      },
      {
        name: '2017',
        val: '2017'
      },
      {
        name: '2016',
        val: '2016'
      },
      {
        name: '2015',
        val: '2015'
      },
      {
        name: '2014',
        val: '2014'
      }
    ],
    month: [
      {
        name: '不限',
        val: ''
      },
      {
        name: '1',
        val: '1'
      },
      {
        name: '2',
        val: '2'
      },
      {
        name: '3',
        val: '3'
      },
      {
        name: '4',
        val: '4'
      },
      {
        name: '5',
        val: '5'
      },
      {
        name: '6',
        val: '6'
      },
      {
        name: '7',
        val: '7'
      },
      {
        name: '8',
        val: '8'
      },
      {
        name: '9',
        val: '9'
      },
      {
        name: '10',
        val: '10'
      },
      {
        name: '11',
        val: '11'
      },
      {
        name: '12',
        val: '12'
      }
    ]
  },
  uploadImgUrl: '/uploadFile',
  uploadImgsUrl: '/uploadFile',
  uploadFileUrl: '/uploadFile'
}
